Skip to content

Fix type_id_hasher test, Increase Minimum Supported Rust Version to 1.56, Use edition 2021 - #7

Merged
reivilibre merged 8 commits into
masterfrom
rei/fixups
Jun 14, 2026
Merged

Fix type_id_hasher test, Increase Minimum Supported Rust Version to 1.56, Use edition 2021#7
reivilibre merged 8 commits into
masterfrom
rei/fixups

Conversation

@reivilibre

@reivilibre reivilibre commented Jun 14, 2026

Copy link
Copy Markdown
Owner
  • type_id_hasher test was tightly coupled to stdlib memory layout. It still is, but now accepts both old and new layout.
  • Runtime behaviour was not at risk in either case.
  • Edition 2021 supported since 1.56 has more sane support for the inline placeholders in panic!. But it turns out 1.56 still doesn't support that properly in assert!... Still, 1.56 is nearly 5 years old, I think it's OK to bump a bit.

Signed-off-by: Olivier 'reivilibre <git.oo@emunest.net>
Signed-off-by: Olivier 'reivilibre <git.oo@emunest.net>
@reivilibre reivilibre changed the title Fix up codebase, Increase Minimum Supported Rust Version to 1.56, Use edition 2021 Fix type_id_hasher test, Increase Minimum Supported Rust Version to 1.56, Use edition 2021 Jun 14, 2026
Signed-off-by: Olivier 'reivilibre <git.oo@emunest.net>
The runtime behaviour is still correct; it's only our test assertion
that was dodgy

Signed-off-by: Olivier 'reivilibre <git.oo@emunest.net>
Signed-off-by: Olivier 'reivilibre <git.oo@emunest.net>
Signed-off-by: Olivier 'reivilibre <git.oo@emunest.net>
Signed-off-by: Olivier 'reivilibre <git.oo@emunest.net>
Signed-off-by: Olivier 'reivilibre <git.oo@emunest.net>
@reivilibre
reivilibre merged commit e7a3f34 into master Jun 14, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant